package com.ruoyi.ipms_patent.service;

import com.ruoyi.ipms_patent.dto.IpmsCaseBaseInfo;
import com.ruoyi.ipms_patent.dto.IpmsCaseBaseInfoB;
import com.ruoyi.ipms_patent.dto.IpmsCaseBaseInfoD;
import com.ruoyi.ipms_patent.dto.IpmsCaseModify;


import java.util.List;

/**
 * @author: isBao
 * Description:TODO:案件Service
 */

public interface IpmsCaseService {

    /* 基于用户角色返回对应的案件列表 */
    List<IpmsCaseBaseInfo> findCaseByuserId(IpmsCaseBaseInfo ipmsCaseBaseInfo);

    /* 案件添加 */
    int insertCase(List<String> contractNos);

    /* 案件修改 */
    int updateCase(IpmsCaseModify ipmsCaseModify);

    /* 案件删除 by案件id*/
    int delCaseByCaseNo(List<String> caseNos);

    /* 案件编号单个查询 */
    IpmsCaseBaseInfo selectCaseByCaseNo(String caseNo);

    /* 案件编号单个查询之申请文件 */
    List<IpmsCaseBaseInfoB> selectCaseBByCaseNo(String caseNo);

    List<IpmsCaseBaseInfoD> selectOfficalByCaseNo(String caseNo);

    /* 模拟官方审核 */
    int officialResult();
}
